package com.ruoyi.project.system.submit.mapper;


import com.ruoyi.project.system.submit.domain.MiniDetailDB;
import com.ruoyi.project.system.submit.domain.MiniDetailData;
import com.ruoyi.project.system.submit.domain.MiniIncomeData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper

public interface MiniSubmitMapper {

    Integer MiniSelectDetailDBID(int dataID,int first,int second,int third);

    Integer MiniSelectDataIdByFid(String fid,int reportYear);

    Integer getNumPerson(String fid);

    List<Double> getOpIncome(int incomeDataId, int first);

    List<Double> getPropertyIncome(int incomeDataId, int first);

    List<Double> getSalaryIncome(int incomeDataId, int first);

    List<Double> getTransferIncome(int incomeDataId, int first);

    void enterData(MiniIncomeData miniIncomeData);

    void entering(List<MiniDetailDB> list);

    int backShowId(String fid, int reportYear);

    List<MiniDetailData> backShowDetail(int incomeDataId);

    Double getSumIncome(String fid, int reportYear);

    Double backShowExpense(String fid, int reportYear);
}

